package com.mybatis.demo.dao;

import com.mybatis.demo.domain.Attendence;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.sql.Date;
import java.util.List;

@Repository
@Mapper
public interface IAttendanceMapper {
  int InsertAttendenceBydate(Attendence attendence);
  List<Attendence> SearchAttendence(Long page,Long size,String name,Date date);
  int count(String name,Date date);
  int delById(Long recordId);
  int UpdateAttendence(Attendence attendence);
  List<Attendence> SearchAttendenceBystuId(Long page,Long size,Long studentId ,Date date);
  int countById(Long id);
}
